package com.cff.test;

public class Demo {
    //静态代码块
    static{
        System.out.println("this is static block");
    }
    //普通代码块
    {
        System.out.println("this is normal block");
    }
    //默认构造函数
    public Demo(){
        System.out.println("this is demo constructor");
    }
    
    
    
    public static void main(String[] args) {
        Demo d = new Demo();
        Demo d1 = new Demo();
    }
}